package com.ruoyi.auth.form;

import javax.validation.constraints.NotNull;

/**
 * 用户登录对象
 * 
 * @author ruoyi
 */
public class LoginBody
{
    /**
     * 用户名
     */
    private String username;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 是否是APP登录：0、PC登录，1、App登录
     */
    @NotNull(message = "登录标识")
    private Integer isBoolLogin;

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public Integer getIsBoolLogin() {
        return isBoolLogin;
    }

    public void setIsBoolLogin(Integer isBoolLogin) {
        this.isBoolLogin = isBoolLogin;
    }
}
